cmake_minimum_required(VERSION 2.7)
project(recommend_system)
#set(CMAKE_CXX_COMPILER g++)
set(CMAKE_CXX_FLAGS "-std=c++11 -O3  -pthread ")
#set(CMAKE_CXX_FLAGS "-pthread ")
add_executable(app ConsoleApplication1.cpp recommend/Recommend.cpp recall/UserCLRecall.cpp recall/UserLabelRecall.cpp item/ItemUtil.cpp )
add_executable( test test/test.cpp   recommend/Recommend.cpp recall/UserCLRecall.cpp recall/UserLabelRecall.cpp item/ItemUtil.cpp  )
target_link_libraries( test /usr/src/gtest/build/libgtest.a )
